﻿SET PATH=%path%;%windir%\Microsoft.NET\Framework\v2.0.50727 
REM Uninstall the Service if it exists already 
InstallUtil /u myWebservice.exe 
REM Install the Service 
InstallUtil /i myWebservice.exe
REM Start the Service once we're done 
net start myService 
PAUSE 